package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.CashApply;

import java.util.*;
public class CashApplyExample extends SgExample<CashApplyExample.Criteria> {
    public static final Class<CashApply> beanClass = CashApply.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn reason;
    public static EntityColumn applyId;
    public static EntityColumn money;
    public static EntityColumn operater;
    public static EntityColumn mallUserId;
    public static EntityColumn applyTime;
    public static EntityColumn examineTime;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        reason = listMap.get("reason");
        applyId = listMap.get("applyId");
        money = listMap.get("money");
        operater = listMap.get("operater");
        mallUserId = listMap.get("mallUserId");
        applyTime = listMap.get("applyTime");
        examineTime = listMap.get("examineTime");
        status = listMap.get("status");
        }

    public CashApplyExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected CashApplyExample.Criteria createCriteriaInternal() {
        return new CashApplyExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public CashApplyExample.Criteria andReasonIsNull() {
            return isNull(reason);
        }

        public CashApplyExample.Criteria andReasonIsNotNull() {
            return isNotNull(reason);
        }

        public CashApplyExample.Criteria andReasonEqualTo(String value) {
            return equalTo(reason, value);
        }

        public CashApplyExample.Criteria andReasonNotEqualTo(String value) {
            return notEqualTo(reason, value);
        }

        public CashApplyExample.Criteria andReasonGreaterThan(String value) {
            return greaterThan(reason, value);
        }

        public CashApplyExample.Criteria andReasonGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(reason, value);
        }

        public CashApplyExample.Criteria andReasonLessThan(String value) {
            return lessThan(reason, value);
        }

        public CashApplyExample.Criteria andReasonLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(reason, value);
        }

        public CashApplyExample.Criteria andReasonLike(String value) {
            return like(reason, value);
        }

        public CashApplyExample.Criteria andReasonNotLike(String value) {
            return notLike(reason, value);
        }

        public CashApplyExample.Criteria andReasonIn(List<String> values) {
            return in(reason, values);
        }

        public CashApplyExample.Criteria andReasonNotIn(List<String> values) {
            return notIn(reason, values);
        }

        public CashApplyExample.Criteria andReasonBetween(String value1, String value2) {
            return between(reason, value1, value2);
        }

        public CashApplyExample.Criteria andReasonNotBetween(String value1, String value2) {
            return notBetween(reason, value1, value2);
        }
        public CashApplyExample.Criteria andApplyIdIsNull() {
            return isNull(applyId);
        }

        public CashApplyExample.Criteria andApplyIdIsNotNull() {
            return isNotNull(applyId);
        }

        public CashApplyExample.Criteria andApplyIdEqualTo(Long value) {
            return equalTo(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdNotEqualTo(Long value) {
            return notEqualTo(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdGreaterThan(Long value) {
            return greaterThan(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdLessThan(Long value) {
            return lessThan(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(applyId, value);
        }

        public CashApplyExample.Criteria andApplyIdIn(List<Long> values) {
            return in(applyId, values);
        }

        public CashApplyExample.Criteria andApplyIdNotIn(List<Long> values) {
            return notIn(applyId, values);
        }

        public CashApplyExample.Criteria andApplyIdBetween(Long value1, Long value2) {
            return between(applyId, value1, value2);
        }

        public CashApplyExample.Criteria andApplyIdNotBetween(Long value1, Long value2) {
            return notBetween(applyId, value1, value2);
        }
        public CashApplyExample.Criteria andMoneyIsNull() {
            return isNull(money);
        }

        public CashApplyExample.Criteria andMoneyIsNotNull() {
            return isNotNull(money);
        }

        public CashApplyExample.Criteria andMoneyEqualTo(String value) {
            return equalTo(money, value);
        }

        public CashApplyExample.Criteria andMoneyNotEqualTo(String value) {
            return notEqualTo(money, value);
        }

        public CashApplyExample.Criteria andMoneyGreaterThan(String value) {
            return greaterThan(money, value);
        }

        public CashApplyExample.Criteria andMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(money, value);
        }

        public CashApplyExample.Criteria andMoneyLessThan(String value) {
            return lessThan(money, value);
        }

        public CashApplyExample.Criteria andMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(money, value);
        }

        public CashApplyExample.Criteria andMoneyLike(String value) {
            return like(money, value);
        }

        public CashApplyExample.Criteria andMoneyNotLike(String value) {
            return notLike(money, value);
        }

        public CashApplyExample.Criteria andMoneyIn(List<String> values) {
            return in(money, values);
        }

        public CashApplyExample.Criteria andMoneyNotIn(List<String> values) {
            return notIn(money, values);
        }

        public CashApplyExample.Criteria andMoneyBetween(String value1, String value2) {
            return between(money, value1, value2);
        }

        public CashApplyExample.Criteria andMoneyNotBetween(String value1, String value2) {
            return notBetween(money, value1, value2);
        }
        public CashApplyExample.Criteria andOperaterIsNull() {
            return isNull(operater);
        }

        public CashApplyExample.Criteria andOperaterIsNotNull() {
            return isNotNull(operater);
        }

        public CashApplyExample.Criteria andOperaterEqualTo(Long value) {
            return equalTo(operater, value);
        }

        public CashApplyExample.Criteria andOperaterNotEqualTo(Long value) {
            return notEqualTo(operater, value);
        }

        public CashApplyExample.Criteria andOperaterGreaterThan(Long value) {
            return greaterThan(operater, value);
        }

        public CashApplyExample.Criteria andOperaterGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(operater, value);
        }

        public CashApplyExample.Criteria andOperaterLessThan(Long value) {
            return lessThan(operater, value);
        }

        public CashApplyExample.Criteria andOperaterLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(operater, value);
        }

        public CashApplyExample.Criteria andOperaterIn(List<Long> values) {
            return in(operater, values);
        }

        public CashApplyExample.Criteria andOperaterNotIn(List<Long> values) {
            return notIn(operater, values);
        }

        public CashApplyExample.Criteria andOperaterBetween(Long value1, Long value2) {
            return between(operater, value1, value2);
        }

        public CashApplyExample.Criteria andOperaterNotBetween(Long value1, Long value2) {
            return notBetween(operater, value1, value2);
        }
        public CashApplyExample.Criteria andMallUserIdIsNull() {
            return isNull(mallUserId);
        }

        public CashApplyExample.Criteria andMallUserIdIsNotNull() {
            return isNotNull(mallUserId);
        }

        public CashApplyExample.Criteria andMallUserIdEqualTo(Long value) {
            return equalTo(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdNotEqualTo(Long value) {
            return notEqualTo(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdGreaterThan(Long value) {
            return greaterThan(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdLessThan(Long value) {
            return lessThan(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(mallUserId, value);
        }

        public CashApplyExample.Criteria andMallUserIdIn(List<Long> values) {
            return in(mallUserId, values);
        }

        public CashApplyExample.Criteria andMallUserIdNotIn(List<Long> values) {
            return notIn(mallUserId, values);
        }

        public CashApplyExample.Criteria andMallUserIdBetween(Long value1, Long value2) {
            return between(mallUserId, value1, value2);
        }

        public CashApplyExample.Criteria andMallUserIdNotBetween(Long value1, Long value2) {
            return notBetween(mallUserId, value1, value2);
        }
        public CashApplyExample.Criteria andApplyTimeIsNull() {
            return isNull(applyTime);
        }

        public CashApplyExample.Criteria andApplyTimeIsNotNull() {
            return isNotNull(applyTime);
        }

        public CashApplyExample.Criteria andApplyTimeEqualTo(Date value) {
            return equalTo(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeNotEqualTo(Date value) {
            return notEqualTo(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeGreaterThan(Date value) {
            return greaterThan(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeLessThan(Date value) {
            return lessThan(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(applyTime, value);
        }

        public CashApplyExample.Criteria andApplyTimeIn(List<Date> values) {
            return in(applyTime, values);
        }

        public CashApplyExample.Criteria andApplyTimeNotIn(List<Date> values) {
            return notIn(applyTime, values);
        }

        public CashApplyExample.Criteria andApplyTimeBetween(Date value1, Date value2) {
            return between(applyTime, value1, value2);
        }

        public CashApplyExample.Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            return notBetween(applyTime, value1, value2);
        }
        public CashApplyExample.Criteria andExamineTimeIsNull() {
            return isNull(examineTime);
        }

        public CashApplyExample.Criteria andExamineTimeIsNotNull() {
            return isNotNull(examineTime);
        }

        public CashApplyExample.Criteria andExamineTimeEqualTo(Date value) {
            return equalTo(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeNotEqualTo(Date value) {
            return notEqualTo(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeGreaterThan(Date value) {
            return greaterThan(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeLessThan(Date value) {
            return lessThan(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(examineTime, value);
        }

        public CashApplyExample.Criteria andExamineTimeIn(List<Date> values) {
            return in(examineTime, values);
        }

        public CashApplyExample.Criteria andExamineTimeNotIn(List<Date> values) {
            return notIn(examineTime, values);
        }

        public CashApplyExample.Criteria andExamineTimeBetween(Date value1, Date value2) {
            return between(examineTime, value1, value2);
        }

        public CashApplyExample.Criteria andExamineTimeNotBetween(Date value1, Date value2) {
            return notBetween(examineTime, value1, value2);
        }
        public CashApplyExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public CashApplyExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public CashApplyExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public CashApplyExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public CashApplyExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public CashApplyExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public CashApplyExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public CashApplyExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public CashApplyExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public CashApplyExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public CashApplyExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public CashApplyExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}